reftests: Fix the window-show-contents-on-map test
authorMatthias Clasen <mclasen@redhat.com>
Sun, 26 Apr 2020 13:16:25 +0000 (09:16 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 26 Apr 2020 13:16:25 +0000 (09:16 -0400)
Despite the name, the test was not in fact showing
contents on map anymore, since widgets are visible
by default. Setting visible to FALSE makes the test
work as expected again.

testsuite/reftests/window-show-contents-on-map.ui

index 89d56bbd68fa75b8fc66eaf25ac841993c6cf3d4..ec617ace225c5c26fd0dc4ea6d6efd640e019f45 100644 (file)
@@ -6,6 +6,7 @@
     <signal name="map" handler="gtk_widget_show" object="label1" after="yes" swapped="yes"/>
     <child>
       <object class="GtkLabel" id="label1">
+        <property name="visible">0</property>
         <property name="label" translatable="yes">This label is only shown when the window is mapped. So the window does its first size allocation without the label being visible and has to resize.</property>
         <property name="width_chars">20</property>
         <property name="wrap">1</property>